package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * custom日志对象 log
 * 
 * @author ruoyi
 * @date 2023-05-10
 */
public class CustomLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private String caozuorenid;

    /** 操作人 */
    @Excel(name = "操作人")
    private String caozuoren;

    /** 单位ID */
    @Excel(name = "单位ID")
    private String danweiid;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String danweimingcheng;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String caozuoleixing;

    /** 操作日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date caozuoriqi;

    /** 操作说明 */
    @Excel(name = "操作说明")
    private String caozuoshuoming;

    /** 有效性 */
    @Excel(name = "有效性")
    private Long isvalid;

    /**  */
    @Excel(name = "")
    private String text1;

    /**  */
    @Excel(name = "")
    private String text2;

    /**  */
    @Excel(name = "")
    private String text3;

    /**  */
    @Excel(name = "")
    private String text4;

    /**  */
    @Excel(name = "")
    private String text5;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCaozuorenid(String caozuorenid) 
    {
        this.caozuorenid = caozuorenid;
    }

    public String getCaozuorenid() 
    {
        return caozuorenid;
    }
    public void setCaozuoren(String caozuoren) 
    {
        this.caozuoren = caozuoren;
    }

    public String getCaozuoren() 
    {
        return caozuoren;
    }
    public void setDanweiid(String danweiid) 
    {
        this.danweiid = danweiid;
    }

    public String getDanweiid() 
    {
        return danweiid;
    }
    public void setDanweimingcheng(String danweimingcheng) 
    {
        this.danweimingcheng = danweimingcheng;
    }

    public String getDanweimingcheng() 
    {
        return danweimingcheng;
    }
    public void setCaozuoleixing(String caozuoleixing) 
    {
        this.caozuoleixing = caozuoleixing;
    }

    public String getCaozuoleixing() 
    {
        return caozuoleixing;
    }
    public void setCaozuoriqi(Date caozuoriqi) 
    {
        this.caozuoriqi = caozuoriqi;
    }

    public Date getCaozuoriqi() 
    {
        return caozuoriqi;
    }
    public void setCaozuoshuoming(String caozuoshuoming) 
    {
        this.caozuoshuoming = caozuoshuoming;
    }

    public String getCaozuoshuoming() 
    {
        return caozuoshuoming;
    }
    public void setIsvalid(Long isvalid) 
    {
        this.isvalid = isvalid;
    }

    public Long getIsvalid() 
    {
        return isvalid;
    }
    public void setText1(String text1) 
    {
        this.text1 = text1;
    }

    public String getText1() 
    {
        return text1;
    }
    public void setText2(String text2) 
    {
        this.text2 = text2;
    }

    public String getText2() 
    {
        return text2;
    }
    public void setText3(String text3) 
    {
        this.text3 = text3;
    }

    public String getText3() 
    {
        return text3;
    }
    public void setText4(String text4) 
    {
        this.text4 = text4;
    }

    public String getText4() 
    {
        return text4;
    }
    public void setText5(String text5) 
    {
        this.text5 = text5;
    }

    public String getText5() 
    {
        return text5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("caozuorenid", getCaozuorenid())
            .append("caozuoren", getCaozuoren())
            .append("danweiid", getDanweiid())
            .append("danweimingcheng", getDanweimingcheng())
            .append("caozuoleixing", getCaozuoleixing())
            .append("caozuoriqi", getCaozuoriqi())
            .append("caozuoshuoming", getCaozuoshuoming())
            .append("isvalid", getIsvalid())
            .append("text1", getText1())
            .append("text2", getText2())
            .append("text3", getText3())
            .append("text4", getText4())
            .append("text5", getText5())
            .toString();
    }
}
